package com.magina.common.excel.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;


@AllArgsConstructor
@NoArgsConstructor
@ExcelTarget("easyPoiModel")
@Builder
public class EasyPoiModel  implements java.io.Serializable  {

    @Excel(name = "姓名", orderNum = "7")
    private String name;

    @Excel(name = "年龄", orderNum = "1")
    private String age;

    @Excel(name = "邮箱", orderNum = "2")
    private String email;

    @Excel(name = "地址", orderNum = "3")
    private String address;

    @Excel(name = "性别", orderNum = "4")
    private String sax;

//    @Excel(name = "出生日期", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd", width = 20)
    @Excel(name = "日期", orderNum = "5")
    private String loanDate;

    @Excel(name = "备注", orderNum = "6")
    private String last;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSax() {
        return sax;
    }

    public void setSax(String sax) {
        this.sax = sax;
    }

    public String getLoanDate() {
        return loanDate;
    }

    public void setLoanDate(String loanDate) {
        this.loanDate = loanDate;
    }

    public String getLast() {
        return last;
    }

    public void setLast(String last) {
        this.last = last;
    }
}
